/*
 * Spreed WebRTC.
 * Copyright (C) 2013-2015 struktur AG
 *
 * This file is part of Spreed WebRTC.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

html,
body {
  background-clip: padding-box;
  background-color: $background;
  height: 100%;
}

body {
  margin: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 0;

  @include breakpt($breakpoint-medium, max-width) {
    overflow-x: auto;
  }

  > .ui {
    height: 100%;
    min-width: $buddylist-width;
    position: absolute;
    width: 100%;
  }
}

a {
  cursor: pointer;
}

#background { // scss-lint:disable IdSelector
  background: $main-background;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 0;

  @include hidpi {
    background-image: $main-background-retina;
    background-size: image-width($main-background-image-retina)/2 image-height($main-background-image-retina)/2;
  }
}

.help-block {
  color: $form-help-text;
}

.dialog-header-notify,
.dialog-header-confirm {
  background-color: $dialog-header-neutral;
}

.desktopnotify-icon {
  background-image: url('../img/logo-48x48.png');
}

:fullscreen {
  background: #000;
}

.visibleRoomTypeRoom {
  display: none;
}

.roomTypeRoom .visibleRoomTypeRoom {
  display: block;
}

.roomTypeRoom .hiddenRoomTypeRoom {
  display: none;
}

.visibleRoomTypeConference {
  display: none;
}

.roomTypeConference .visibleRoomTypeConference {
  display: block;
}

.roomTypeConference .hiddenRoomTypeConference {
  display: none;
}
